#include <iostream>

#include "AbstractMakeDrink.h"
#include "MakeTeaImpl.h"
#include "MakeCoffeeImpl.h"

int main() {
    // 制作茶水的实现
//    AbstractMakeDrink *makeDrink = new MakeTeaImpl;
//    makeDrink->MakeDrink();

    AbstractMakeDrink *makeDrink = new MakeCoffeeImpl("咖啡");
//    makeDrink->setDrunkName("咖啡");
    makeDrink->MakeDrink();


    return 0;
}
